package top.hucx.mapper;

import org.springframework.stereotype.Repository;
import top.hucx.entity.User;

import java.util.List;

@Repository
public interface UserMapper {

    Integer saveUser(User user);

    int deleteUser(Integer uid);

    void updateUser(User user);

    List<User> findUserByMultiCondition(User user);

    User findUserByUid(Integer uid);
}
